using UnityEngine;

public class CareerListGroupHeader : MonoBehaviour
{
	public UILabel titleLabel;

	public UILabel starsCollectedLabel;

	public CareerSettings.CareerGroup group { get; protected set; }

	public void Init(CareerSettings.CareerGroup group)
	{
		this.group = group;
		titleLabel.text = group.groupName;
		starsCollectedLabel.text = string.Format("{0}/{1}", group.collectedStarCount, group.totalStarCount);
		base.gameObject.SetActive(true);
	}
}
